# gitverse.ru

## git error

![error](image.png)

```cmd
git@gitverse.ru: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

C:\src\c>ssh -T ssh://git@gitverse.ru:2222
Hi there, default-writer! You've successfully authenticated with the key named user@DESKTOP-6QIGIM9, but GitVerse does not provide shell access.
If this is unexpected, please log in with password and setup GitVerse under another user.
```

## fix on accessing repository

### windows

- add file %USERPROFILE%\.ssh\config

```config
# gitverse account: default-writer
Host gitverse.ru
   HostName gitverse.ru
   IdentityFile "C:\Users\user\.ssh\id_gigaverse_ru"
   IdentitiesOnly yes

```

## sources

- [git pull/push/--set-upstream issue](https://gist.github.com/oanhnn/80a89405ab9023894df7)
